package com.wbihua.common.metrics.type;

import lombok.Getter;

@Getter
public enum EventPrometheusHistogramType {
    PROMETHEUS_REQUEST_HISTOGRAM("io_namespace_http_requests_latency_seconds_histogram", new String[]{"path", "method", "code"}, "Request latency in seconds.");

    private final String name;
    private String[] labelNames = new String[]{};
    private String help;
    EventPrometheusHistogramType(String name) {
        this.name = name;
    }

    EventPrometheusHistogramType(String name, String[] labelNames, String help) {
        this.name = name;
        this.labelNames = labelNames;
        this.help = help;
    }
}
